package com.xbongbong.pro.statistic.result.pojo.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 返回结果是int型的结果vo
 * @author zcp
 * @version v1.0
 * @date 2019/2/23 16:38
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ResultCountListVO implements Serializable {
    private static final long serialVersionUID = 1010927367942999228L;

    /**
     * 存放总数
     */
    private Integer total;
    /**
     * 结果数组，格式为：[1, 2, 3]
     */
    private List<Integer> resultList;

    public ResultCountListVO(Integer total, List<Integer> resultList) {
        this.total = total;
        this.resultList = resultList;
    }
}
